package com.api.sw.duban.model;

import com.api.sw.duban.annotation.Field;
import com.api.sw.duban.annotation.Table;

import java.text.SimpleDateFormat;
import java.util.Date;

@Table(value="uf_jcdcrw",datasource = "local")
public class Uf_jcdcrw {
        @Field(dbFiledName="")
        private String bh="";//编号
        @Field(dbFiledName="")
        private String gzrw="";//工作任务
        @Field(dbFiledName="")
        private String qtdw="";//牵头单位
        @Field(dbFiledName="")
        private String xbdw="";//协办单位
        @Field(dbFiledName="")
        private String lb="";//类别
        @Field(dbFiledName="")
        private int zt=0;//状态
        @Field(dbFiledName="")
        private String ssdctz="";//所属督查通知
        @Field(dbFiledName="")
        private int sfsrw;//是否是任务
        @Field(dbFiledName="")
        private String cj="";//层级
        @Field(dbFiledName="")
        private String sssj="";//所属上级
        @Field(dbFiledName="")
        private String levelids="";//所有父级节点（-拼接）
        @Field(dbFiledName="")
        private String domid="";//节点id
        @Field(dbFiledName="")
        private String wfkey="";//流程key
        @Field(dbFiledName="")
        private String yyrwid="";//引用任务ID

        /* 建模自带属性*/
        @Field(dbFiledName="")
        private String modedatacreater="1";//创建人
        @Field(dbFiledName="")
        private String modedatacreatedate="";//创建日期
        @Field(dbFiledName="")
        private String formmodeid="130";//模型ID 默认值 本地16
        @Field(dbFiledName="")
        private String modedatacreatertype="0";//创建类型
        @Field(dbFiledName="")
        private String modedatacreatetime="";//创建时间
        @Field(dbFiledName="")
        private String modeuuid="";//UUID
    public Uf_jcdcrw(){
        SimpleDateFormat sim=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.modedatacreatedate=sim.format(new Date()).split(" ")[0];
        this.modedatacreatetime=sim.format(new Date()).split(" ")[1];
    }
    public String getModedatacreater() {
        return modedatacreater;
    }

    public void setModedatacreater(String modedatacreater) {
        this.modedatacreater = modedatacreater;
    }

    public String getModedatacreatedate() {
        return modedatacreatedate;
    }

    public void setModedatacreatedate(String modedatacreatedate) {
        this.modedatacreatedate = modedatacreatedate;
    }

    public String getFormmodeid() {
        return formmodeid;
    }

    public void setFormmodeid(String formmodeid) {
        this.formmodeid = formmodeid;
    }

    public String getModedatacreatertype() {
        return modedatacreatertype;
    }

    public void setModedatacreatertype(String modedatacreatertype) {
        this.modedatacreatertype = modedatacreatertype;
    }

    public String getModedatacreatetime() {
        return modedatacreatetime;
    }

    public void setModedatacreatetime(String modedatacreatetime) {
        this.modedatacreatetime = modedatacreatetime;
    }

    public String getModeuuid() {
        return modeuuid;
    }

    public void setModeuuid(String modeuuid) {
        this.modeuuid = modeuuid;
    }

    public String getYyrwid() {
        return yyrwid;
    }

    public void setYyrwid(String yyrwid) {
        this.yyrwid = yyrwid;
    }

    public String getWfkey() {
        return wfkey;
    }

    public void setWfkey(String wfkey) {
        this.wfkey = wfkey;
    }

    public String getBh() {
        return bh;
    }

    public void setBh(String bh) {
        this.bh = bh;
    }

    public String getGzrw() {
        return gzrw;
    }

    public void setGzrw(String gzrw) {
        this.gzrw = gzrw;
    }

    public String getQtdw() {
        return qtdw;
    }

    public void setQtdw(String qtdw) {
        this.qtdw = qtdw;
    }

    public String getXbdw() {
        return xbdw;
    }

    public void setXbdw(String xbdw) {
        this.xbdw = xbdw;
    }

    public String getLb() {
        return lb;
    }

    public void setLb(String lb) {
        this.lb = lb;
    }

    public int getZt() {
        return zt;
    }

    public void setZt(int zt) {
        this.zt = zt;
    }

    public String getSsdctz() {
        return ssdctz;
    }

    public void setSsdctz(String ssdctz) {
        this.ssdctz = ssdctz;
    }

    public int getSfsrw() {
        return sfsrw;
    }

    public void setSfsrw(int sfsrw) {
        this.sfsrw = sfsrw;
    }

    public String getCj() {
        return cj;
    }

    public void setCj(String cj) {
        this.cj = cj;
    }

    public String getSssj() {
        return sssj;
    }

    public void setSssj(String sssj) {
        this.sssj = sssj;
    }

    public String getLevelids() {
        return levelids;
    }

    public void setLevelids(String levelids) {
        this.levelids = levelids;
    }

    public String getDomid() {
        return domid;
    }

    public void setDomid(String domid) {
        this.domid = domid;
    }

    @Override
    public String toString() {
        return "Uf_jcdcrw{" +
                "bh='" + bh + '\'' +
                ", gzrw='" + gzrw + '\'' +
                ", qtdw='" + qtdw + '\'' +
                ", xbdw='" + xbdw + '\'' +
                ", lb='" + lb + '\'' +
                ", zt=" + zt +
                ", ssdctz='" + ssdctz + '\'' +
                ", sfsrw=" + sfsrw +
                ", cj='" + cj + '\'' +
                ", sssj='" + sssj + '\'' +
                ", levelids='" + levelids + '\'' +
                ", domid='" + domid + '\'' +
                ", wfkey='" + wfkey + '\'' +
                ", yyrwid='" + yyrwid + '\'' +
                '}';
    }
}
